package com.zfl.service;

import com.zfl.pojo.User;


public interface UserService {
    //用户名查询用户
    User findByUserName(String username);

    //注册
    void register(String username, String password);

    void update(User user);

    //更新头像
    void updateAvatar(String avatarUrl);

    void updatePwd(String newPwd);
}
